home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / September 96 / Re Thick, Dashed line bug in.4 < prev    next >
Encoding:
Internet Message Format  |  1996-09-19  |  1.8 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Thick, Dashed line bug in ODF?
  2. Sent:        9/12/96 9:00 AM
  3. Received:    9/12/96 9:00 AM
  4. From:        Troy Gaul <tgaul@apple.com>
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List
  7.  
  8.  
  9. >>Their current approach actually is
  10. >>not "least common denominator", but rather adds a feature sorely lacking on
  11. >>the Macintosh (line types), so I can hardly fault them if they only add the
  12. >>capabilities already built into Windows.
  13. >
  14. >To be precise, they are making the feature fail the same way it fails in
  15. >Windows. If you are going to copy something, I guess you've got to copy
  16. >the mistakes as well (there is a classical reference, I think).
  17.  
  18. I wasn't going to bother, but...
  19.  
  20. If they were really taking least common denominator, then they wouldn't
  21. have implemented it at all.
  22.  
  23. That said, if they wanted to make dashed lines work on a Mac, it's not as
  24. easy as saying PenSize(6,6) and doing the same thing.  This is so because
  25. the pen that is used when drawing a line (with standard QuickDraw) is
  26. rectangular (or in this case, square), so if the dashed line were along a
  27. diagonal, it would look really bad.
  28.  
  29. So if they wanted to improve the dash support to thicker lines and have it
  30. look right, then they'd have to deal with this problem by writing a
  31. separate line drawing routine (probably drawing them with polygons -- as if
  32. it wasn't slow enough as it is).  The complexity mounts.
  33.  
  34. And then, once they did this, they'd also have to add a feature like this
  35. to the Windows version of ODF so they would both have the same
  36. functionality.
  37.  
  38. _troy
  39.  
  40. ......................................................................
  41.  Troy Gaul                                            tgaul@apple.com
  42.  Apple Computer, Inc.                                   OpenDoc Parts